<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<title>内部管理系统</title>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">

<link rel="stylesheet" type="text/css"
	href="../../lib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css"
	href="../../stylesheets/theme.css">
<link rel="stylesheet"
	href="../../lib/font-awesome/css/font-awesome.css">

<script src="../../lib/jquery.min.js" type="text/javascript"></script>
<script src="../../lib/bootstrap/js/bootstrap.js"></script>
<script src="../../lib/jquery.validate.min.js"></script>
<script src="../../lib/jquery.cookie.js"></script>
<script src="../../lib/jquery.messager.js"></script>
<script src="../../js/init.js"></script>

<!-- <script src="../../lib/jquery.min.js" type="text/javascript"></script>
<script src="../../lib/bootstrap/js/bootstrap.js"></script>
<script src="../../lib/jquery.validate.min.js"></script>
<script src="../../lib/jquery.cookie.js"></script>
<script src="../../lib/messages_cn.js" type="text/javascript"></script>
<script src="../../lib/jquery.messager.js"></script>
<script src="../../js/init.js"></script>
<link rel="stylesheet" href="//apps.bdimg.com/libs/jqueryui/1.10.4/css/jquery-ui.min.css">
<script src="//apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//apps.bdimg.com/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> -->

<style type="text/css">
#container {
	height: 300px;
	width: 400px;
}

.fl {
	float: left
}

select {
	width: 130px;
}
.title{
	font-size:18px;
	font-weight:bold;
}
</style>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
      <script src="lib/html5.js"></script>
    <![endif]-->
</head>

<!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
<!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
<!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<body class="">
	<!--<![endif]-->

	<div class="navbar"></div>
	<div class="common"></div>

	<div class="sidebar-nav"></div>

	<div class="content">
		<div class="well">
			<ul class="nav nav-tabs">
				<li class="active"><a href="#userlist" data-toggle="tab">个人</a></li>
			</ul>
			<div id="myTabContent" class="tab-content">
				<div class="tab-pane active in" id="storelist">

					<div class="container-fluid">
						<div class="span8">
							<form class="form-horizontal" id="user_form">
								<div class="control-group title">详情 </div>
								<table class="table">
									<tr>
										<td><label class="control-label">姓名：</label></td>
										<td><label id="personName"></label></td>
										<td><label class="control-label">性别：</label></td>
										<td><label id="personGender"></label></td>
									</tr>
									<tr>
										<td><label class="control-label">年龄：</label></td>
										<td><label id="personAge"></label></td>
										<td><label class="control-label">生日：</label></td>
										<td><label id="birthday"></label></td>
									</tr>
									<tr>
										<td><label class="control-label">电话：</label></td>
										<td><label id="tel"></label></td>
										<td><label class="control-label">邮箱地址：</label></td>
										<td><label id="email"></label></td>
									</tr>
									<tr>
										<td><label class="control-label">求职类型：</label></td>
										<td><label id="postFlag"></label></td>
										<td><label class="control-label">求职领域：</label></td>
										<td><label id="dicFieldName"></label></td>
									</tr>
									<tr>
										<td><label class="control-label">所在地区：</label></td>
										<td><label id="district"></label></td>
										<td><label class="control-label">大学：</label></td>
										<td><label id="university"></label></td>
									</tr>
									<tr>
										<td><label class="control-label">学院：</label></td>
										<td><label id="college"></label></td>
										<td><label class="control-label">专业：</label></td>
										<td><label id="major"></label></td>
									</tr>
									<tr>
										<td><label class="control-label">入学时间：</label></td>
										<td><label id="admissionDate"></label></td>
										<td><label class="control-label">学历：</label></td>
										<td><label id="dicEducationName"></label></td>
									</tr>
									<tr>
										<td><label class="control-label">自我评价：</label></td>
										<td><label id="selfEvaluation"></label></td>
										<td><label class="control-label">创建时间：</label></td>
										<td><label id="createTime"></label></td>
									</tr>
									
								</table>

								<div class="form-actions">
									<button id="btn-back" type="button" class="btn ">返回</button>
								</div>

							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>


	<script type="text/javascript">
	
		//初始化导航栏
		$(function() {
			initAdminNavBar();
			initCommon();
			initSideBar('user-management', 'person-list');

		});
		
		//初始化用户详细信息
		$(function() {
			var personId = getparastr('personId');
			if (personId != null && personId != "") {//更新的情况下,给页面赋初始值
				$.ajax({
					contentType : "application/json",
					url : api_base_url
							+ "selectPersonDetail.json?personId="
							+ personId,
					dataType : "json",
					success : function(data) {
						if (data.code == "200") {
							var personName = data.responseData.personName;
							var personGender = data.responseData.personGender;
							var personAge = data.responseData.personAge;
							var birthday = data.responseData.birthday;
							var tel = data.responseData.tel;
							var email = data.responseData.email;
							var district = data.responseData.district;
							var postFlag = data.responseData.postFlag;
							var dicFieldName = data.responseData.dicFieldName;
							var university = data.responseData.university;
							var college = data.responseData.college;
							var major = data.responseData.major;
							var admissionDate = data.responseData.admissionDate;
							var dicEducationName = data.responseData.dicEducationName;
							var selfEvaluation = data.responseData.selfEvaluation;
							var createTime = data.responseData.createTime;
							$("#personName").html(personName);
							$("#personGender").html(personGender);
							$("#personAge").html(personAge);
							$("#birthday").html(birthday);
							$("#tel").html(tel);
							$("#email").html(email);
							$("#district").html(district);
							$("#postFlag").html(postFlag);
							$("#dicFieldName").html(dicFieldName);
							$("#university").html(university);
							$("#college").html(college);
							$("#major").html(major);
							$("#admissionDate").html(admissionDate);
							$("#dicEducationName").html(dicEducationName);
							$("#selfEvaluation").html(selfEvaluation);
							$("#createTime").html(createTime);
						}
						$.messager.anim('fade', 1000);
					    $.messager.show('操作提示',data.msg, 5000);
					}
				});
			}  

		});


		//返回
		$('#btn-back').on('click', function() {
			history.back()
		});


	</script>

</body>
</html>


